home *** CD-ROM | disk | FTP | other *** search
/ The 640 MEG Shareware Studio 2 / The 640 Meg Shareware Studio CD-ROM Volume II (Data Express)(1993).ISO / basic / qbfaqr01.zip / LIBPATCH.DOC < prev    next >
Internet Message Format  |  1992-08-10  |  2KB

  1. Date: 04-12-92 (19:51)
  2. From: TOM HANLIN
  3. Subj: QB PATCHES
  4. ------------------------------------------------------------------------
  5.  
  6. I spent some time today digging through the BCOM45.LIB code.  Funny way
  7. to get your kicks, I know.  I took the opportunity to develop a few
  8. fixes for things that irritate me about QuickBASIC.  I've tested these
  9. patches on my own system, but of course I can't guarantee 'em.  They
  10. appear to work fine with BCOM45.LIB (QuickBASIC 4.5 stand-alone .EXE
  11. runtime support).  They will quite probably also work with QuickBASIC
  12. 4.0-4.5 and BASCOM/PDS 6.0-7.1, but I haven't tried it.  Anyway...
  13.  
  14. 1) MAKE A BACKUP COPY of your BCOM45.LIB or whatever you plan to patch,
  15. just in case.
  16.  
  17. 2) Dig out your favorite debugger or disk editor.  Haven't got one?
  18. Pick up FED (File EDitor) at your local BBS.
  19.  
  20. 3) Install patches of choice.
  21.  
  22. To prevent the COMMAND$ function from capitalizing the command line,
  23. SEEK: 3C 61 72 06 3C 7A 77 02 34 20
  24. MAKE: EB 08 90 90 90 90 90 90 90 90
  25.  
  26. To prevent OPEN "COM..." from destroying the BIOS comm data area,
  27. SEEK: 1E 33 D2 8E DA 87 95 00 04 1F
  28. MAKE: 1E 33 D2 8E DA 8B 95 00 04 1F
  29. SEEK: 1E 33 D2 8E DA 89 9D 00 04 1F
  30. MAKE: 90 33 D2 90 90 90 90 90 90 90
  31.  
  32. To prevent CLOSE or END from lowering the DTR on comm ports,
  33. SEEK: B0 00 E3 01 40 83 C2 04 EE
  34. MAKE: B0 00 90 90 40 83 C2 04 EE
  35.  
  36. Be advised that if you install that last patch, you will need to drop
  37. the DTR manually if you want it lowered.  My PBClone library can do
  38. that for you.
  39.